package com.baosight.risk.mapper.riaa;

import com.baosight.risk.base.mapper.BaseMapper;
import com.baosight.risk.service.riaa.entity.RiquInquiryComp;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RiquInquiryCompMapper extends BaseMapper<RiquInquiryComp> {

    List<RiquInquiryComp> selectList(@Param("inquiryComp") RiquInquiryComp inquiryComp);

    List<RiquInquiryComp> getByIds(@Param("ids") List<String> ids);

    Integer updateStatus(@Param("id") String id);

    List<RiquInquiryComp> queryExist(@Param("params")Map<String,Object> params);

    List<RiquInquiryComp> queryByParentGuid(@Param("parentGuid") String parentGuid,@Param("status") String status);

    Integer updateSubmitUser(@Param("riquInquiryComp") RiquInquiryComp riquInquiryComp);

}